<template>
  <el-table :data="feedBack" style="width: 100%">
    <el-table-column prop="ID" label="反馈号" width="180" />
    <el-table-column prop="Content" label="反馈内容" />
  </el-table>
</template>

<script>
import feedBack from "@/components/FeedBack.vue";
import {onMounted, ref} from "vue";
import API from "@/plugins/axiosInstanse";

export default {
  name: "Inbox",
  setup(){
    const feedBack = ref()
    onMounted(()=>{
      API.get('api/getFeedBack').then((response)=>{
        console.log(response)
        feedBack.value = response.FeedBackList
        console.log(feedBack.value)

      })
    })
    return {
      feedBack,
    }
  }
}
</script>

<style scoped>

</style>